package client.control;

import javafx.scene.control.Button;
import javafx.scene.text.Text;
import javafx.fxml.FXML;
import javafx.event.ActionEvent;
import javafx.application.Application;
import client.client;

public class DialogController {
	@FXML Button okBtn;
	@FXML Text text;

	@FXML public void ok(ActionEvent event){
		okBtn.getScene().getWindow().hide();
	}

	Application c;

	public void setC(Application c){
		this.c = c;
	}

	public void setText(String message){
		text.setText(message);
	}
}